package com.example.plugin;

import android.app.Application;
import android.content.Context;
import com.example.plugin.event.GroupEventReceiver;
import com.example.plugin.event.QQMessageReceiver;
import com.example.plugin.event.RawMessageReceiver;

/**
 * App类，用于全局变量存放
 */
public class APP extends Application {
    public static final String PACKAGE_NAME="com.example.plugin";//插件包名，应保证唯一性
    public static final String ACTION_QQMESSAGE_RECEIVE="com.pansyqq.receive.qqmessage";
    public static final String ACTION_RAWMESSAGE_RECEIVE="com.pansyqq.receive.rawmessage";
    public static final String ACTION_GROUPEVENT_RECEIVE="com.pansyqq.receive.groupevent";
    public static final String ACTION_LOADPLUGIN_RECEIVE="com.pansyqq.receive.loadplugin";
    public static QQMessageReceiver qqmessageReceiver;
    public static RawMessageReceiver rawmessageReceiver;
    public static GroupEventReceiver groupEventReceiver;
    public static API pansy;
    public static Context context;
    @Override
    public void onCreate() {
        context=this;
        super.onCreate();
    }

}
